package com.tensquare.article.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@IdClass(ALPK.class)
@Table(name="tb_al")
public class AL  implements Serializable {

    @Id
    @Column(name = "aid")
    private String aid;//问题ID
    @Id
    @Column(name = "lid")
    private String lid;//标签ID

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    public String getLid() {
        return lid;
    }

    public void setLid(String lid) {
        this.lid = lid;
    }
}
